package jcommand.exception;

/**
 * This exception is thrown by the
 * {@link jcommand.CommandSet#runCommand(String)} to indicate that a the
 * <code>Command</code> object not exist in the <code>CommandSet</code>
 * object
 * 
 * @author Kenneth Lo
 * @since 1.0.0
 */
public class CommandNotFoundException extends RuntimeException {

	public static final long serialVersionUID = 1;

	/**
	 * CommandNotFoundException Version UID
	 * 
	 * @since 1.0.0
	 * 
	 */
	public CommandNotFoundException() {
		super("Not command exist.");
	}

	/**
	 * Constructs an CommandNotFoundException with the specified detail message.
	 * 
	 * @since 1.0.0
	 * 
	 */
	public CommandNotFoundException(String msg) {
		super(msg);
	}
}
